package com.weight.common.login.PO;

import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import lombok.Data;
import com.alibaba.fastjson.annotation.JSONField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 人员信息表
 */
@Data
public class UserInfoLogin implements Serializable {

	private static final long serialVersionUID = 2814639517974791520L;

	@JSONField(name = "userInfoId")
	private String userInfoId; //员工id

	@NotBlank(message = "用户名不能为空")
	@JSONField(name = "userInfoUname")
	private String userInfoUname; //用户名

	@NotBlank(message = "密码不能为空")
	@JSONField(name = "userInfoPwd")
	private String userInfoPwd; //密码

	@JSONField(name = "userInfoSalt")
	private String userInfoSalt; //加密盐

	@JSONField(name = "userInfoName")
	private String userInfoName; //员工姓名

	@JSONField(name = "userInfoCode")
	private String userInfoCode; //员工编号

	@JSONField(name = "userInfoSex")
	private Integer userInfoSex; //性别
 
	@JSONField(name = "userInfoBirth")
	private Date userInfoBirth; //出生日期

	@JSONField(name = "userInfoIdnum")
	private String userInfoIdnum; //身份证号

	@JSONField(name = "userInfoTel")
	private String userInfoTel; //联系电话

	@JSONField(name = "userInfoPcode")
	private String userInfoPcode; //员工邮箱

	@JSONField(name = "userInfoStatus")
	private String userInfoStatus; //员工状态
	
	@JSONField(name = "userInfoDuties")
	private List<String> userInfoDuties; //员工职务
	
	@JSONField(name = "userInfoTemDuty")
	private List<String> userInfoTemDuty; //员工临时职务
	
	private String userInfoDutiesL; //员工职务
	
	private String userInfoTemDutyL; //员工临时职务
	
	
	public  UserInfoLogin(){
		super();
	}

	public  UserInfoLogin(String userInfoId,String userInfoUname,String userInfoPwd,String userInfoSalt,String userInfoName,String userInfoCode,Integer userInfoSex,Date userInfoBirth,String userInfoIdnum,String userInfoTel,String userInfoPcode,String userInfoStatus){
		super();
		this.userInfoId = userInfoId;
		this.userInfoUname = userInfoUname;
		this.userInfoPwd = userInfoPwd;
		this.userInfoSalt = userInfoSalt;
		this.userInfoName = userInfoName;
		this.userInfoCode = userInfoCode;
		this.userInfoSex = userInfoSex;
//		this.userInfoBirth = userInfoBirth;
		this.userInfoIdnum = userInfoIdnum;
		this.userInfoTel = userInfoTel;
		this.userInfoPcode = userInfoPcode;
		this.userInfoStatus = userInfoStatus;
	}

}